package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Member;
import com.itheima.pojo.Memberf;

import java.util.List;

public interface MemberService {
    public Member findByTelephone(String telephone);
    public Memberf findByTelephonef(String telephone);
    public void add(Member member);
    public void addAll(Memberf memberf);
    public List<Integer> findMemberCountByMonths(List<String> months);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    void deleteById(Integer id);

    Memberf findById(Integer id);

    void edit(Memberf memberf);

    List<Integer> findMemberCountByMouth(List<String> result);
}
